package com.toplabs.unashu.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageDto<T> implements Serializable {
    private static final long serialVersionUID = 6978262756700831787L;
    private Integer total;

    private List<T> rows = new ArrayList<>();

}
